package com.example.demo001.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
@RequestMapping("/aaa")
public class TestController {

    @RequestMapping("Nice")
    public  Object nice(){
        Map<Object, Object> map = new HashMap<>();
        map.put("1","HW1");
        map.put("2","HW2");
        return map;
    }
}
